package com.educate.studentmanagementsystem.mapper;

import com.educate.studentmanagementsystem.pojo.entity.Course;
import com.educate.studentmanagementsystem.pojo.vo.CourseVO1;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {

    List<Course> selectCourseAll();

    int insertCourse(Course course);

    int updateCourseById(Course course);

    int deleteCourseByIds(Integer[] ids);

    List<CourseVO1> selectCourseVO1WithTeacherVO1ByCreditGreaterThan(Integer credit);

}
